package pers.ljf.escloud.dao.entity.app;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laijinfan1
 * @since 2022-02-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("app_user")
public class User implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户名
     */
    private String name;

    /**
     * 所属部门id
     */
    private Long deptId;

    /**
     * 部门名，如"技术发展部"
     */
    private String deptName;

    /**
     * 部门路径名,如"吃了么/吃了么物流/技术发展部"
     */
    private String deptFullName;

    /**
     * app端账号
     */
    private String username;

    /**
     * app端密码
     */
    private String password;

    /**
     * 状态，0正常，1冻结
     */
    private Integer status;

    /**
     * 密码盐
     */
    private String salt;

    private String entName;

    private Long entId;

    private Boolean isDelete;
}
